<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="../../src/array/pull.js"></script>
</head>
<body>
  <script>
    let arr = [1,3,5,3,7]
    
    // console.log(pull(arr, 2, 7, 3, 7)); // 返回值为[3,3,7]
    console.log(pullAll(arr, [2, 7, 3, 7])); // 返回值为[3,3,7]
    
    console.log(arr);
  </script>
</body>
</html>